using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;

using FlickrPortfolio.Models.Services;

namespace FlickrPortfolio.Controllers {
    public class TagController : Controller {
        private readonly TagService service = new TagService();

        public ActionResult Index() {
            return View(service.GetTags());
        }

        public ActionResult Show(string id) {
            return View(service.GetPhotos(id));
        }
    }
}
